﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DataAccess;
using Foundation; 

namespace Business.Test {
    public class DataAccessStub : IDataAccess {

        public Category currentCategory { get; set; }
        public List<Category> categorieList { get; set; }

        public DataAccessStub() {
            createCategoryList(); 
        }

        /// <summary>
        /// Erzeugt eine Liste mit Beispiel Kategorien
        /// </summary>
        private void createCategoryList() {
            this.categorieList = new List<Category>(); 
            for (int i = 0; i < 5; i++) {
                this.categorieList.Add(new Category(string.Format("Kategorie {0}", i))); 
            }
        }


        public void writeTrack(Foundation.Track t) {
            throw new NotImplementedException();
        }

        public void writeTracks(List<Foundation.Track> tracks) {
            throw new NotImplementedException();
        }

        public List<Foundation.Track> selectTracks() {
            throw new NotImplementedException();
        }

        public List<Foundation.Category> GetAllCategories() {
            return this.categorieList; 
        }

        public void SaveNewCategory(Foundation.Category value) {
            this.currentCategory = value; 
        }

        public List<Foundation.Track> GetUntaggedTracks() {
            throw new NotImplementedException();
        }

        public void Save(Foundation.Category c) {
            this.currentCategory = c; 
        }

        public List<Foundation.Track> GetTracksByCategory(Foundation.Category cat) {
            throw new NotImplementedException();
        }

        public void CreateNewSoundSuite(string name) {
            throw new NotImplementedException();
        }

        public List<Foundation.SoundSuite> GetAllSoundSuites() {
            throw new NotImplementedException();
        }

        public void DeleteSuite(Foundation.SoundSuite soundSuite) {
            throw new NotImplementedException();
        }

        public object[] getEffektGroupsFromSoundSuiteID(Guid guid) {
            throw new NotImplementedException();
        }

        public Foundation.SoundSuite GetSoundSuiteByID(Guid guid) {
            throw new NotImplementedException();
        }

        public void AddNewEffektGroup(Foundation.EffektGroup effektGroup, Guid soundSuiteID) {
            throw new NotImplementedException();
        }
    }
}
